<!--<div class="row" data-ng-if="pagerObj.count>0">-->
    <div class="text-center">
        <!-- 分页按钮 -->
        <ul class="pagination-sm pagination " data-ng-if="pagerObj.maxPage>1" style="margin: 0 0 10px;">
        <!--<ul class="pagination-sm pagination" style="margin: 0 0 10px;">-->
            <!-- 上一页-->
            <li ng-class="{'disabled':pagerObj.currentPage <= 1}" >
                <a href="javascript:void(0);" data-ng-if="pagerObj.currentPage > 1"
                   data-ng-click="pagerObj.currentPage=pagerObj.currentPage-1; pageChanged();">
                    <i class="fa fa-chevron-left" style="color: #fcc633"></i>
                </a>
                <a href="javascript:void(0);" data-ng-if="pagerObj.currentPage <= 1">
                    <i class="fa fa-chevron-left"></i>
                </a>
            </li>

            <!-- 首页: 页数小于4时, 第1页出现了. 总页数小于按钮, 第1页总出现. -->
            <li data-ng-if="pagerObj.currentPage>3 && pagerObj.maxPage>pagerObj.button">
                <a href="javascript:void(0);" data-ng-click="pagerObj.currentPage=1; pageChanged()"  style="background-color: #fcc633">1</a>
            </li>
            <li data-ng-if="pagerObj.currentPage>3 && pagerObj.maxPage>pagerObj.button">
                <a href="javascript:void(0);">...</a>
            </li>

            <!-- 中间n页 -->
            <li data-ng-repeat="p in pagerObj.pageArr" data-ng-class="{'active':p == pagerObj.currentPage}">
                <a href="javascript:void(0);" data-ng-click="pagerObj.currentPage=p; pageChanged()">{{p}}</a>
            </li>

            <!-- 末页: 页数大于倒数第三时, 最后页有了. 总页数小于按钮数, 最后页也有了. -->
            <li data-ng-if="pagerObj.currentPage<pagerObj.maxPage-2 && pagerObj.maxPage>pagerObj.button">
                <a href="javascript:void(0);">...</a>
            </li>
            <li data-ng-if="pagerObj.currentPage<pagerObj.maxPage-2 && pagerObj.maxPage>pagerObj.button">
                <a href="javascript:void(0);" data-ng-click="pagerObj.currentPage=pagerObj.maxPage; pageChanged()"> {{pagerObj.maxPage}} </a>
            </li>


            <!-- 下一页 -->
            <li ng-class="{'disabled':pagerObj.currentPage >= pagerObj.maxPage}">
                <a href="javascript:void(0);" data-ng-if="pagerObj.currentPage < pagerObj.maxPage"
                   data-ng-click="pagerObj.currentPage=pagerObj.currentPage+1; pageChanged()">
                    <i class="fa fa-chevron-right" style="color: #fcc633"></i>
                </a>
                <a href="javascript:void(0);" data-ng-if="pagerObj.currentPage >= pagerObj.maxPage">
                    <i class="fa fa-chevron-right"></i>
                </a>
            </li>

        </ul>
    </div>